crypto/tls.Conn.out (field)
43 uses
crypto/tls (current package)
conn.go#L102: in, out halfConn
conn.go#L845: return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
conn.go#L862: return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
conn.go#L867: c.out.Lock()
conn.go#L868: defer c.out.Unlock()
conn.go#L912: payloadBytes := tcpMSSEstimate - recordHeaderLen - c.out.explicitNonceLen()
conn.go#L913: if c.out.cipher != nil {
conn.go#L914: switch ciph := c.out.cipher.(type) {
conn.go#L916: payloadBytes -= c.out.mac.Size()
conn.go#L926: payloadBytes -= c.out.mac.Size()
conn.go#L986: c.quicWriteCryptoData(c.out.level, data)
conn.go#L1032: outBuf, err = c.out.encrypt(outBuf, data[:m], c.config.rand())
conn.go#L1044: if err := c.out.changeCipherSpec(); err != nil {
conn.go#L1056: c.out.Lock()
conn.go#L1057: defer c.out.Unlock()
conn.go#L1073: c.out.Lock()
conn.go#L1074: defer c.out.Unlock()
conn.go#L1220: c.out.Lock()
conn.go#L1221: defer c.out.Unlock()
conn.go#L1223: if err := c.out.err; err != nil {
conn.go#L1246: if _, ok := c.out.cipher.(cipher.BlockMode); ok {
conn.go#L1249: return n, c.out.setErrorLocked(err)
conn.go#L1256: return n + m, c.out.setErrorLocked(err)
conn.go#L1350: c.out.Lock()
conn.go#L1351: defer c.out.Unlock()
conn.go#L1361: c.out.setErrorLocked(err)
conn.go#L1365: newSecret := cipherSuite.nextTrafficSecret(c.out.trafficSecret)
conn.go#L1366: c.out.setTrafficSecret(cipherSuite, QUICEncryptionLevelInitial, newSecret)
conn.go#L1471: c.out.Lock()
conn.go#L1472: defer c.out.Unlock()
conn.go#L1600: c.out.Lock()
conn.go#L1601: if !errors.As(c.out.err, &a) {
conn.go#L1604: c.out.Unlock()
handshake_client.go#L538: c.out.version = vers
handshake_client.go#L877: c.out.prepareCipherSpec(c.vers, clientCipher, clientHash)
handshake_client_tls13.go#L518: c.out.setTrafficSecret(hs.suite, QUICEncryptionLevelHandshake, clientSecret)
handshake_client_tls13.go#L834: verifyData: hs.suite.finishedHash(c.out.trafficSecret, hs.transcript),
handshake_client_tls13.go#L841: c.out.setTrafficSecret(hs.suite, QUICEncryptionLevelApplication, hs.trafficSecret)
handshake_server.go#L197: c.out.version = c.vers
handshake_server.go#L828: c.out.prepareCipherSpec(c.vers, serverCipher, serverHash)
handshake_server_tls13.go#L772: c.out.setTrafficSecret(hs.suite, QUICEncryptionLevelHandshake, serverSecret)
handshake_server_tls13.go#L910: verifyData: hs.suite.finishedHash(c.out.trafficSecret, hs.transcript),
handshake_server_tls13.go#L923: c.out.setTrafficSecret(hs.suite, QUICEncryptionLevelApplication, serverSecret)